import { Button, type ButtonProps, } from "antd";

type IProps = ButtonProps;

export default function ToolButton(props: IProps) {
    return (
        <Button 
            type="text"
            style={{
                padding: 0,
                color: "#1e2229",
                borderRadius: 8,
                width: 32,
            }}
            {...props}
        >{ props?.children }</Button>
    );
}
